package com.example.hangzhou.welbeing.mytestdemoapp.animation.animationActivity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityCompat;
import android.support.v4.app.ActivityOptionsCompat;
import android.support.v7.app.AppCompatActivity;
import android.widget.Button;

import com.example.hangzhou.welbeing.mytestdemoapp.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 杭州惟君医疗科技有限公司13
 * Created by 20433 on 2018/5/10
 *
 * @desc 东风山河绿，春已不折柳，繁花看不尽，处处惹人留
 * @desc 佛祖镇楼，bug辟容易
 */

public class AnimatedSpreadOneActivity extends AppCompatActivity {
    @Bind(R.id.button12)
    Button button12;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_animation_spread_one);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.button12)
    public void onViewClicked() {
        Intent intent_05 = new Intent(AnimatedSpreadOneActivity.this, AnimatedSpreadThreedActivity.class);
        ActivityOptionsCompat optionsCompat = ActivityOptionsCompat.makeSceneTransitionAnimation(this);
        ActivityCompat.startActivity(this, intent_05, optionsCompat.toBundle());


        //startActivity(intent_05, ActivityOptions.makeCustomAnimation(AnimatedSpreadOneActivity.this,R.anim.bottom_to_center,R.anim.center_to_left).toBundle());
    }
}
